﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RndMaterialDisposalService.Models
{
    [Table("TemporaryProcessDocumentBusinessData")]
    public class TemporaryProcessDocumentBusinessDataModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid? SysId { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        public string? ProcessFolio { get; set; }
        /// <summary>
        /// 流程实例号
        /// </summary>
        public string? ProcInstId { get; set; }
        //生效日期
        public DateTime? TakeEffectTime { get; set; }
        //失效日期
        public DateTime? LoseEfficacyTime { get; set; }
        //有效性
        public bool? Effectiveness { get; set; }
        //创建时间
        public DateTime? CreateTime { get; set; }
        //中文姓名
        public string? CreateName { get; set; }
        //中文姓名编码
        public string? CreateUserId { get; set; }
        //联系电话
        public string? Telephone { get; set; }
        //所属部门
        public string? AffiliationDepartment { get; set; }
        //所属部门编码
        public string? AffiliationDepartmentID { get; set; }
        //产品类别
        public string? ProductType { get; set; }
        //产品类别编码
        public string? ProductTypeID { get; set; }
        //更改部位
        public string? ChangeParts { get; set; }
        //更改部位编号
        public string? ChangePartsID { get; set; }
        //Item
        public string? Item { get; set; }
        //评审链接与结论
        public string? ReviewLinkAndConclusion { get; set; }
        //临时工艺文件名称
        public string? TemporaryFileName { get; set; }
        //状态
        public string? Status { get; set; }
        //更改原因
        public string? ChangeReason { get; set; }
        //文件内容
        public string? FileContent { get; set; }
        //请选择文件执行生产中心
        public string? DocumentExecutionProductionCenter { get; set; }
        //请选择文件下发部门
        public string? FileDistributeDepartment { get; set; }
        //请选择文件下发部门编码
        public string? FileDistributeDepartmentID { get; set; }
        //更改有效截止日期
        public DateTime? ChangesEffectiveTime { get; set; }
        //抄送人员
        public string? SupplementCCName { get; set; }
        //是否需要MC会签
        public bool? IsMCCountersign { get; set; }
        //MC会签人员
        public string? MCCountersignUser { get; set; }
        //指定直接部门主管工程师
        public string? EngineerInChargeName { get; set; }
        //文档下发人员
        public string? DocumentDistributionName { get; set; }
        //创建人
        public string? CreatedBy { get; set; }
        //创建日期
        public DateTime? CreateDate { get; set; }
        //修改人
        public string? LastUpdatedBy { get; set; }
        //修改日期
        public DateTime? LastUpdateDate { get; set; }
    }
}
